<%--
  Created by IntelliJ IDEA.
  User: xiong
  Date: 2020/7/14
  Time: 10:16
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>登录</title>
    <link rel="stylesheet" href="layui/css/layui.css">
    <script src="layui/layui.js"></script>
    <script src="layui/jquery-3.5.1.min.js"></script>

</head>
<style>
    div{
        width: 50%;
        margin-top: 200px;
        margin-left: 25%;
        padding-top: 100px;
        text-align: center;
        border:  1px solid red;
    }
    .myinput{
        width: 200px;
        height: 30px;
    }
    .btn{
        color: white;
        width: 196px;
        height: 35px;
        margin-top: 15px;
        margin-bottom: 20px;
    }
    form{
        text-align:-webkit-center;
    }
</style>
<body>
<div class="logindiv">
    <form action="/admin/login" method="post" class="layui-form">
        <input type="text" name="username" placeholder="请输入用户名" class="layui-input myinput">
        <br>
        <input type="password" name="password" class="layui-input myinput" placeholder="输入密码">
        <button class="layui-btn btn" type="submit">点我登录</button>
    </form>
</div>

</body>
</html>
